import request from "@/utils/request"
import { ILoginRequestData } from "./types/login"

export function loginApi(data: ILoginRequestData) {
  return request({
    data,
    url: "manager/login",
    method: "post"
  })
}